﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace PongApplication.Views
{
    public class RacketView : ShapeView
    {
        public void Draw(Graphics graphics, Rectangle rectangle)
        {
            Pen p = new Pen(Color.White);
            SolidBrush b = new SolidBrush(Color.White);
            graphics.DrawRectangle(p, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height);
            graphics.FillRectangle(b, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height);
        }
    }
}
